package service

import (
	background "background_srv/basic/proto"
	"context"
)

// 用户服务
type Server struct {
	background.UnimplementedBackgroundServer
}

// 发送短息验证码
func (s *Server) SendSms(_ context.Context, in *background.SendSmsReq) (*background.SendSmsResp, error) {

	return &background.SendSmsResp{
		Message: "",
	}, nil
}

// 注册用户
func (s *Server) Register(_ context.Context, in *background.RegisterReq) (*background.RegisterResp, error) {

	return &background.RegisterResp{
		UserId:  0,
		Message: "",
	}, nil
}
